﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EzDesk.Client.Utility
{
    /// <summary>
    /// @Refactory 
    /// </summary>
    [Serializable]
    public class FeedClientModel
    {
        public string AppName{ get; set; }
        public Guid FeedId { get; set; }
        public DateTime CreateOn { get; set; }
        public DateTime UpdateOn { get; set; }
        public DateTime LastChangeOn { get; set; }
        public bool IsRead { get; set; }
        public bool IsAvailable { get; set; }
        public string Type { get; set; }
        
        public IList<KeyValuePair<string, string>> ExtensionData { get; set; }

        public string OriginalData { get; set; }
        /// <summary>
        /// @Refactory this property should be replaced be an virtual property for different client type.
        /// </summary>
        public string TransformedData { get; set; }
        public bool IsTransformed
        {
            get
            {
                return TransformedData != null ? true : false;
            }
        }
    }
}
